You can use the Administration > System > Groovy Plug-ins view to deploy Groovy hooks. The important thing is to name a Groovy hook as per the desired injection point. For example, if you want to inject Groovy code before the tbdunits validations, you should name the Groovy hook TbdUnitValidationGroovyImpl.